package com.chengcang.api.modules.busi.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chengcang.api.modules.busi.dto.BusiDemandDTO;
import com.chengcang.api.modules.busi.entity.BusiDemandEntity;
import com.chengcang.api.modules.busi.vo.BusiDemandVO;
import com.chengcang.common.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author bibajin
 * @since 1.0.0 2023-01-10
 */
@Mapper
public interface BusiDemandDao extends BaseDao<BusiDemandEntity> {


    /**
     * 分页查询
     * @param page
     * @param params
     * @return
     */
    List<BusiDemandVO> getList(IPage<BusiDemandEntity> page, @Param("param")Map<String, Object> params);

    /**
     * 查询履约
     * @param page
     * @param params
     * @return
     */
    List<BusiDemandVO> getAppointList(IPage<BusiDemandEntity> page, @Param("param")Map<String, Object> params);
}
